<?php

class DefaultController extends Controller {

    public $errors = array();

    public function actionIndex() {
        header('Content-Type: application/json');
        echo json_encode(array('foo' => 'bar'));
    }

}
